Display Name = "Dark Tower 4F"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 394, 22, 6, 2, 1])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 395, 17, 8, 2, 1])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 396, 36, 15, 2, 1])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([862, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([932, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([924, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    ConditionalBranch([12, "unlock_level < 1"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([2565, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    ConditionalBranch([12, "unlock_level < 1"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([3070, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    PlayME(["RPG::ME(@name=\"lvup\", @pitch=100, @volume=100)"])
    ShowPicture([5, "sys_oyakataf3b", 0, 0, 140, 0, 100, 100, 0, 0])
    ShowPicture([6, "80_oyakata_st9-1", 0, 0, 140, 0, 100, 100, 0, 0])
    ShowPicture([7, "sys_oyakataf3", 0, 0, 140, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    MovePicture([6, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    MovePicture([7, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    Wait([30])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["You have discovered the Symbiote Master! \\|\\|"])
    Wait([30])
    ShowTextAttributes(["randolph_fc9", 0, 0, 2])
    ShowText(["\\n<Symbiote Master>"])
    ShowText(["We are two halves of one...!"])
    ConditionalBranch([1, 1319, 0, 4, 2])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>"])
      ShowText(["I can't keep up with all this..."])
      ShowText(["I wish Papi were here."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1319, 0, 5, 1])
      ShowTextAttributes(["dragonp_fc1", 0, 0, 2])
      ShowText(["\\n<Papi>"])
      ShowText(["I'm glad you made a friend!"])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSwitches([3146, 3146, 0])
    ControlVariables([1354, 1354, 1, 0, 1])
    ConditionalBranch([1, 1354, 0, 80, 0])
      Script(["gain_medal(1524)"])
      Empty([])

    BranchEnd([])
    ErasePicture([5])
    ErasePicture([6])
    ErasePicture([7])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Explained the situation to the boss from another world and sent them to the Chaos Forge――"])
    ShowText(["(Number of bosses discovered: \\V[1354])"])
    Wait([30])
    ExitEventProcessing([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["From here, the path splits into two routes..."])
    ShowText(["Both routes lead to a button at the end."])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Pressing both buttons will activate the warp magic circle on the 1F."])
    ShowText(["Now, let's go press the buttons."])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["That's why, let's head to the 2F and 3F."])
    ShowText(["On this floor, there are warp devices to each floor."])
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["One of the two buttons is over here..."])
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["One of the two buttons is right here..."])
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["A pointless detour."])
    Empty([])

CommonEvent 14
Name = "EV014"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3017, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Ahead lies one of the two buttons."])
      ShowText(["Now, let's proceed."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3017, 0])
      ConditionalBranch([0, 3016, 1])
        ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
        ShowText(["\\n<Dungeon Spirit>"])
        ShowText(["We'll need to press the other button as well."])
        ShowText(["Now, let's go."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 3016, 0])
        ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
        ShowText(["\\n<Dungeon Spirit>"])
        ShowText(["With this, both buttons have been pressed."])
        ShowText(["The magic circle on the 1F is now active, so let's return."])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["A pointless detour."])
    Empty([])

CommonEvent 16
Name = "EV016"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["There is a modest item in the pot ahead."])
    Empty([])

CommonEvent 17
Name = "EV017"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["It's this way..."])
    Empty([])

CommonEvent 18
Name = "EV018"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Ahead, there's a boss. Let's capture them."])
    Empty([])

CommonEvent 19
Name = "EV019"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["If you go further, there's a treasure chest."])
    Empty([])

CommonEvent 20
Name = "EV020"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["There seems to be something in the barrel further ahead."])
    Empty([])

CommonEvent 21
Name = "EV021"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Now, this way."])
    Empty([])

CommonEvent 22
Name = "EV022"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["There seems to be something in the pot ahead."])
    Empty([])

CommonEvent 23
Name = "EV023"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Let's proceed this way."])
    Empty([])

CommonEvent 24
Name = "EV024"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3016, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Ahead lies one of the two buttons."])
      ShowText(["Now, let's proceed."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3016, 0])
      ConditionalBranch([0, 3017, 1])
        ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
        ShowText(["\\n<Dungeon Spirit>"])
        ShowText(["We'll need to press the other button as well."])
        ShowText(["Now, let's go."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 3017, 0])
        ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
        ShowText(["\\n<Dungeon Spirit>"])
        ShowText(["With this, both buttons have been pressed."])
        ShowText(["The magic circle on the 1F is now active, so let's return."])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])
